﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SwParaPlatform2.dlgFormula
{
    public partial class dlgOtherOpe : Form
    {
        public string sOpe;
        public dlgOtherOpe()
        {
            InitializeComponent();
        }

        public void ReturnOpe(string sOperation)
        {
            sOpe = sOperation;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void dayubtn_Click(object sender, EventArgs e)
        {
            ReturnOpe(">");
        }

        private void xiaoyubtn_Click(object sender, EventArgs e)
        {
            ReturnOpe("<");
        }

        private void dadengbtn_Click(object sender, EventArgs e)
        {
            ReturnOpe(">=");
        }

        private void xiaodengbtn_Click(object sender, EventArgs e)
        {
            ReturnOpe("<=");
        }

        private void budengbtn_Click(object sender, EventArgs e)
        {
            ReturnOpe("!=");
        }
    }
}
